package com.dnjn.happiness.emo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.happiness.common.core.web.domain.AjaxResult;
import com.dnjn.happiness.emo.api.domain.EmoAvgScoreWeekly;
import com.dnjn.happiness.emo.api.domain.WeeklyRankingBean;
import com.dnjn.happiness.emo.domain.vo.WeeklyComparisonVO;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 快乐值周均Service接口
 * 
 * @author happiness
 * @date 2024-02-27
 */
public interface IEmoAvgScoreWeeklyService  extends IService<EmoAvgScoreWeekly>
{

    List<EmoAvgScoreWeekly> getLargeFluctuate(String weekOfYear,Long deptId);

    void exportExcel(HttpServletResponse response,Long deptId);

    void exportWeeklyComparison(HttpServletResponse response);

    List<WeeklyComparisonVO> getWeeklyComparison(Long deptId);

    void exportWeeklyCalendar(HttpServletResponse response, List<WeeklyComparisonVO> voList,Long deptId);

    Integer selectCountByWeekOfYear(Integer startInterval, Integer endInterval, String weekOfYear,Long deptId);

    AjaxResult getCompareWeekHappinessScore(Long deptId);


    List<WeeklyRankingBean> getTopTen(String weekOfYear, Long deptId);

    List<WeeklyRankingBean> getLastTen(String weekOfYear,Long deptId);

    List<EmoAvgScoreWeekly> getExportList(EmoAvgScoreWeekly emoAvgScoreWeekly);

}
